package game;

public class Piece {
	private int x;
	private int y;
	private boolean white;
	private boolean king;
	public Piece(int x, int y, boolean white, boolean king) {
		super();
		this.x = x;
		this.y = y;
		this.white = white;
		this.king = king;
	}
	public void setPos(int x, int y){
		this.x = x;
		this.y = y;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public boolean isWhite() {
		return white;
	}
	public void setWhite(boolean white) {
		this.white = white;
	}
	public boolean isKing() {
		return king;
	}
	public void setKing(boolean king) {
		this.king = king;
	}
	
}
